<?php 

namespace pmvc\mvc\security\facebook;

use Facebook;

interface FacebookUserAdapter {

	/**
	 * Returns a custum user to be stored in
	 * the session rather than the facebook user.
	 * @param $facebook the facebook user
	 * @param $authentication the FacebookAuthentication
	 */
	function getUser(Facebook $facebook, FacebookAuthentication $authentication);

}

?>